package com.tianhui.consignortwofei.other.auth;

import com.fgs.common.utils.LogUtil;

/**
 * @author fgs
 * @date 2021/5/12
 * @description
 **/
public class PictureStrategyFactory extends StrategyFactory {
    public PictureStrategyFactory() {
        LogUtil.print("PictureStrategyFactory");
    }

    @Override
   public PictureStrategy createStrategy(Class c) {
        PictureStrategy picture = null;
        try {
            picture = (PictureStrategy) Class.forName(c.getName()).newInstance();
        } catch (Exception e) {
            e.printStackTrace();
        }
        return picture;
    }
}
